
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                   <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li class="am-active">常用</li>
						  <li class="am-active">患者</li>
						  
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-fl"><i class="iask-icon-dengji1  iconfont sidebar-nav-link-logo"></i>患者</div>
								<div class="widget-function am-fr">
                                    <a href="${Domain}my/patient/add?url=${url}" class="am-icon-plus"    data-am-popover="{theme: 'success sm',content: '新增患者', trigger: 'hover focus'}"></a>
                                </div>
                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                   
                                </div>
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                   
                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3 am-fr">
                                	<#include "../common/search.ftl">
                                </div>

                                <div class="am-u-sm-12">
                                
                                
                                
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                <th width="80px">编号</th>
                                                <th>身份证</th>
                                                <th>姓名</th>
                                                <th>性别</th>
                                                <th>年龄</th>
                                                <th>名族</th>                                               
                                                <th>出生地</th>
                                                 <th>现居</th>
                                                <th>生存情况</th>
                                              
                                              <th width="200px">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list page.list as item>
                                            <tr >
                                                 <td>${item.id}</td>
                                                 <td>${item.SimpleNo()}</td> 
                                                <td>${item.name}</td>   
                                                <td><#switch item.gender>
										           <#case 0> 未知 <#break>
										           <#case 1>男<#break>
										           <#case 2>女<#break>
										           <#default>未知
										        	</#switch> </td>  
                                                <td>${item.Age()}</td> 
                                                <td>${item.nation}</td>
                                                <td class="am-text-left">${item.birthaddress}</td>
                                                 <td class="am-text-left">${item.lowaddress}</td>
                                                 <td>
					                 			 <#switch item.alive>
										           <#case -1> <span class="am-text-danger">已故</span> <#break>
										           <#case 1> <span class="am-text-success">健在</span><#break>
										           <#case 0> 未知<#break>
										           <#default>未知
										        	</#switch> </td>                                    
                                                <td>
                                              
                                                    <span class="tpl-table-black-operation am-fl">
                                                        <a href="${Domain}my/patient/show/${item.id}?url=${url}">
                                                            <i class="am-icon-file-o"></i> 详情
                                                        </a>
  
                                                    </span>
                                                    <div class="am-dropdown" data-am-dropdown>
														  <button class="tngou-dropdown   am-dropdown-toggle" data-am-dropdown-toggle><span class="am-icon-caret-down"></span> 更多 </button>
														  <ul class="am-dropdown-content" >
														    <li><a  href="${Domain}my/patient/health/${item.id}?url=${url}"><span class="iask-icon-suifangxinxijibenxinxi iconfont"></span> 档案</a></li>
														    <li><a href="${Domain}my/patient/cure/${item.id}?url=${url}"><span class="iask-icon-dengjijiuzhenqia iconfont"></span> 治疗</a></li>
														    <li><a href="${Domain}my/patient/access/${item.id}?url=${url}"><span class="iask-icon-dianhuasuifang iconfont"></span> 随访</a></li>	
														    <li><a href="${Domain}my/patient/annex/${item.id}?url=${url}"><span class="am-icon-file"></span> 附件</a></li>													 
													        <li><a href="${Domain}my/patient/linkman/${item.id}?url=${url}"><span class="iask-icon-iconfontshijuan iconfont"></span> 联系</a></li>
														  </ul>
														</div>
                                                 
                                                </td>
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
                                </div>
                              
                               <#include "../common/page.ftl">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
 </div>     
 
    
<#include "footer.ftl">